package com.weibo.report.service.imp;

import java.util.List;

import org.apache.log4j.Logger;

import com.weibo.report.Report;
import com.weibo.report.dao.ReportDao;
import com.weibo.report.dao.imp.ReportDaoImp;
import com.weibo.report.service.ReportService;

public class ReportServiceImp implements ReportService {
	private static final Logger logger = Logger.getLogger(ReportServiceImp.class);
	private ReportDao reportDao = new ReportDaoImp();
	@Override
	public String addReport(Report report) {
		// TODO Auto-generated method stub
		return reportDao.addReport(report);
	}

	@Override
	public boolean deleteReport(String id) {
		// TODO Auto-generated method stub
		return reportDao.deleteReport(id);
	}

	@Override
	public List selectReports(int currentNumber) {
		// TODO Auto-generated method stub
		return reportDao.selectReports(currentNumber);
	}

}
